package com.nodity.gui;

import java.awt.Point;

public class PositionalNode extends Point{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public PositionalNode(Point p){
		setLocation(p);
	}
	
	public void moveXby(int vx){
		x+=vx;
	}
	
	public void moveYby(int vy){
		x+=vy;
	}
	
	public void moveTo(int px,int py){
		x=px;
		y=py;
	}

}
